package com.example.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mall.domain.UserRetentionStatistics;
import com.example.mall.dto.UserRetentionStatisticsDto;
import com.example.mall.query.PageDTO;
import com.example.mall.query.UserRetentionStatisticsQuery;

import java.util.List;


/**
 * <p>
 * 用户留存率分析表 服务类
 * </p>
 *
 * @author whale
 * @since 2025-05-16
 */
public interface IUserRetentionStatisticsService extends IService<UserRetentionStatistics> {

    //分页查询用户留存率分析表信息
    PageDTO<UserRetentionStatisticsDto> queryPage(UserRetentionStatisticsQuery userRetentionStatisticsQuery);

    //根据id查询用户留存率分析表信息
    UserRetentionStatistics queryUserRetentionStatisticsById(Long id);

    //查询全部用户留存率分析表信息
    List<UserRetentionStatistics> queryUserRetentionStatisticsList();

    //新增用户留存率分析表
    void insert(UserRetentionStatisticsDto userRetentionStatisticsDto);

    //修改用户留存率分析表信息
    void update(UserRetentionStatisticsDto userRetentionStatisticsDto);

    //删除用户留存率分析表信息
    void delete(Long id);

    //批量删除用户留存率分析表信息
    void deleteBatch(List<Long> ids);
}
